package com.alex.spring.annotation;/**
 * Created by Administrator on 2018\10\5 0005.
 */

/**
 * @author Administrator
 * @date 2018\10\5 0005
 */
import org.springframework.context.ApplicationListener;
public class CustomEventHandler
        implements ApplicationListener<CustomEvent>{
    @Override
    public void onApplicationEvent(CustomEvent event) {
        System.out.println(event.toString());
    }
}
